﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlotAll
{
    class PageSetup
    {

        string name = string.Empty;

        bool isForModel;

        public bool IsForModel
        {
            get { return isForModel; }
            set { isForModel = value; }
        }



        string devName;

        public string DevName
        {
            get { return devName; }
            set { devName = value; }
        }

        string medName;

        public string MedName
        {
            get { return medName; }
            set { medName = value; }
        }

        string sheeetStyleName;

        public string SheeetStyleName
        {
            get { return sheeetStyleName; }
            set { sheeetStyleName = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        string detials = string.Empty;

        public string Detials
        {
            get { return detials; }
            set { detials = value; }
        }


        public PageSetup(string _name,string _detials)
        {
            Name = _name;

            Detials = _detials;

        }

        public override string ToString()
        {
            return string.Format("页面设置的名称为+{0},打印机名称为{1}图纸尺寸为{2}+打印样式表+{3}", Name, DevName, MedName, SheeetStyleName);
        }





    }
}
